/**
 * 参数展开运算符--形参展开
 * */

function multiply(n: number, ...m: number[]) {
  return m.map(x => n * x)
}

const a_mul = multiply(10, 1, 2, 3, 4)

console.log(a_mul)